writing out schema attribute in xmlwriter

Discussion in 'ASP .Net Web Services' started by Stu, Mar 30, 2005.

  1. Stu

    Stu Guest

    Hi,

    Im am trying to write out my schema xsd reference at the top of the xml
    attribute
    using
    xmlWriter.WriteAttributeString but im not totally sure how to do it
    Bascially i want something like this

    <note
    xmlns="http://www.w3schools.com"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.w3schools.com note.xsd">

    TIA Stu
     
    Stu, Mar 30, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Markus
    Replies:
    1
    Views:
    1,936
    Markus
    Nov 23, 2005
  2. Brett Selleck

    Schema Metadata not a Metadata Schema

    Brett Selleck, Sep 4, 2003, in forum: XML
    Replies:
    1
    Views:
    601
    Andy Dingley
    Sep 4, 2003
  3. Fred Smith
    Replies:
    1
    Views:
    1,203
    Martin Honnen
    Feb 5, 2004
  4. Dan Bolser

    xml schema -> rdb schema?

    Dan Bolser, Feb 11, 2004, in forum: XML
    Replies:
    0
    Views:
    455
    Dan Bolser
    Feb 11, 2004
  5. Hari Om
    Replies:
    1
    Views:
    593
    Martin SChukrazy
    Mar 2, 2004
  6. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,573
    Stanimir Stamenkov
    Apr 25, 2005
  7. Jeff Calico
    Replies:
    2
    Views:
    1,362
    Joseph Kesselman
    Feb 22, 2006
  8. =?Utf-8?B?UGF1bA==?=

    using xmlwriter to create attributes for an excel tag

    =?Utf-8?B?UGF1bA==?=, Nov 7, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    446
    Olaf Rabbachin
    Nov 7, 2006
Loading...