Click here to Skip to main content
14,423,332 members
   

XML / XSL

 
AnswerRe: Excel to XML conversion Pin
evd4610-Aug-10 21:13
Memberevd4610-Aug-10 21:13 
Questionxsl:apply-templates help please! [modified] Pin
Neophyte301-Jul-10 5:49
MemberNeophyte301-Jul-10 5:49 
AnswerRe: xsl:apply-templates help please! Pin
Neophyte305-Jul-10 1:17
MemberNeophyte305-Jul-10 1:17 
GeneralRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 5:37
professionalStuart Dootson6-Jul-10 5:37 
AnswerRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 5:14
professionalStuart Dootson6-Jul-10 5:14 
GeneralRe: xsl:apply-templates help please! Pin
Neophyte306-Jul-10 6:47
MemberNeophyte306-Jul-10 6:47 
GeneralRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 15:38
professionalStuart Dootson6-Jul-10 15:38 
QuestionHow to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
WebMaster1-Jul-10 3:07
MemberWebMaster1-Jul-10 3:07 
Hey,

I have an Xml schema that I would like upload to my FTP server and have Visual Studio provide intellisense for it. Now, what I've done is that I've created the schema, uploaded to my server (http://www.vestras.net/moonlite/schemas/ximl), and then write the following in the file I'd like intellisense in:
<ximl:Markup xmlns:ximl='http://www.vestras.net/moonlite/schemas/ximl/'>
  
</ximl:Markup>


However, Visual Studio doesn't provide intellisense. Here's my schema code:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Ximl"
    targetNamespace="http://vestras.net/moonlite/schemas/ximl"
    elementFormDefault="qualified"
    xmlns="http://vestras.net/moonlite/schemas/ximl"
    xmlns:mstns="http://vestras.net/moonlite/schemas/ximl"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://vestras.net/moonlite/schemas/ximl http://vestras.net/moonlite/schemas/ximl/ximl.xsd">
  <xs:element name="BarItem" id="BarItem">
    <xs:annotation>
      <xs:documentation>
        Defines a bar button.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="guid" type="xs:string" use="required" />
      <xs:attribute name="text" type="xs:string" use="required" />
      <xs:attribute name="image" type="xs:string" use="optional" />
      <xs:attribute name="commandClass" type="xs:string" use="optional" />
    </xs:complexType>
  </xs:element>
  <xs:complexType name="Markup">
    <xs:sequence>
      <xs:element name="Include">
        <xs:annotation>
          <xs:documentation>
            Includes the Ximl file at the given path.
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="path" type="xs:string" use="required" />
        </xs:complexType>
      </xs:element>
      <xs:element name="String">
        <xs:annotation>
          <xs:documentation>
            Provides a string resource for later use. The resource attribute must contain a unique ID.
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="resource" type="xs:string" use="required" />
          <xs:attribute name="value" type="xs:string" use="required" />
        </xs:complexType>
      </xs:element>
      <xs:element name="Package">
        <xs:annotation>
          <xs:documentation>
            Defines a package that can contain Interface elements. Must have a unique GUID.
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Bar">
              <xs:annotation>
                <xs:documentation>
                  Defines a bar. A bar can be a toolbar, a menu or a statusbar.
                </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="BarItem" />
                </xs:sequence>
                <xs:attribute name="guid" type="xs:string" use="required" />
                <xs:attribute name="type" use="required">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="Menu" />
                      <xs:enumeration value="Bar" />
                      <xs:enumeration value="StatusBar" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="Menu">
              <xs:annotation>
                <xs:documentation>
                  Defines a context menu that can be shown on demand.
                </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="BarItem" />
                </xs:sequence>
                <xs:attribute name="guid" type="xs:string" use="required" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="guid" type="xs:string" use="required" />
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>


Any help will be really appreciated.
Thanks,
Theo
AnswerRe: How to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
Not Active1-Jul-10 3:38
mentorNot Active1-Jul-10 3:38 
GeneralRe: How to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
WebMaster1-Jul-10 4:11
MemberWebMaster1-Jul-10 4:11 
Questiontransformed cdata content not escaping properly (or atleast the way i want it it) Pin
nyhtal30-Jun-10 20:59
Membernyhtal30-Jun-10 20:59 
QuestionVXML Pin
muka6629-Jun-10 5:15
Membermuka6629-Jun-10 5:15 
QuestionHow to create xmpp client using C#? Pin
manjeeet18-Jun-10 0:13
Membermanjeeet18-Jun-10 0:13 
Answercross-post Pin
Luc Pattyn18-Jun-10 3:27
sitebuilderLuc Pattyn18-Jun-10 3:27 
QuestionError in running ASP.NET C# (MySql) site Pin
Dot-Net-Dev16-Jun-10 18:24
MemberDot-Net-Dev16-Jun-10 18:24 
QuestionBeginner help to tag Bold text in DocBook v5 for XML export [modified] Pin
keeta116-Jun-10 13:06
Memberkeeta116-Jun-10 13:06 
QuestionWrite XSL for this xml i want to convert xml to CSV formt Pin
ksanju100012-Jun-10 10:14
Memberksanju100012-Jun-10 10:14 
AnswerRe: Write XSL for this xml i want to convert xml to CSV formt Pin
SeMartens15-Jun-10 22:10
MemberSeMartens15-Jun-10 22:10 
Questionwriting to xml file Pin
Farraj8-Jun-10 18:17
MemberFarraj8-Jun-10 18:17 
AnswerRe: writing to xml file Pin
Stuart Dootson9-Jun-10 3:13
professionalStuart Dootson9-Jun-10 3:13 
GeneralRe: writing to xml file Pin
Farraj9-Jun-10 5:39
MemberFarraj9-Jun-10 5:39 
AnswerRe: writing to xml file Pin
Estys9-Jun-10 6:22
MemberEstys9-Jun-10 6:22 
GeneralRe: writing to xml file Pin
Farraj9-Jun-10 9:42
MemberFarraj9-Jun-10 9:42 
QuestionHow to access xml file simultaneously at runtime Pin
Raghu_M21-May-10 6:12
MemberRaghu_M21-May-10 6:12 
QuestionUsing SAX and PHP Pin
vho12318-May-10 21:22
Membervho12318-May-10 21:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.