Click here to Skip to main content

XML / XSL

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
Questionxsl:apply-templates help please! [modified] PinmemberNeophyte305:49 1 Jul '10  
AnswerRe: xsl:apply-templates help please! PinmemberNeophyte301:17 5 Jul '10  
GeneralRe: xsl:apply-templates help please! PinmvpStuart Dootson5:37 6 Jul '10  
AnswerRe: xsl:apply-templates help please! PinmvpStuart Dootson5:14 6 Jul '10  
GeneralRe: xsl:apply-templates help please! PinmemberNeophyte306:47 6 Jul '10  
GeneralRe: xsl:apply-templates help please! PinmvpStuart Dootson15:38 6 Jul '10  
QuestionHow to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? PinmemberTheodor Storm Kristensen3:07 1 Jul '10  
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? PinsupporterMark Nischalke3:38 1 Jul '10  
GeneralRe: How to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? PinmemberTheodor Storm Kristensen4:11 1 Jul '10  
Questiontransformed cdata content not escaping properly (or atleast the way i want it it) Pinmembernyhtal20:59 30 Jun '10  
QuestionVXML Pinmembermuka665:15 29 Jun '10  
QuestionHow to create xmpp client using C#? Pinmembermanjeet pimpale0:13 18 Jun '10  
Answercross-post PinmvpLuc Pattyn3:27 18 Jun '10  
QuestionError in running ASP.NET C# (MySql) site PinmemberDot-Net-Dev18:24 16 Jun '10  
QuestionBeginner help to tag Bold text in DocBook v5 for XML export [modified] Pinmemberkeeta113:06 16 Jun '10  
QuestionWrite XSL for this xml i want to convert xml to CSV formt Pinmemberksanju100010:14 12 Jun '10  
AnswerRe: Write XSL for this xml i want to convert xml to CSV formt PinmemberSeMartens22:10 15 Jun '10  
Questionwriting to xml file PinmemberFarraj18:17 8 Jun '10  
AnswerRe: writing to xml file PinmvpStuart Dootson3:13 9 Jun '10  
GeneralRe: writing to xml file PinmemberFarraj5:39 9 Jun '10  
AnswerRe: writing to xml file PinmemberEstys6:22 9 Jun '10  
GeneralRe: writing to xml file PinmemberFarraj9:42 9 Jun '10  
QuestionHow to access xml file simultaneously at runtime PinmemberRaghu_M6:12 21 May '10  
QuestionUsing SAX and PHP Pinmembervho12321:22 18 May '10  
QuestionXSLT and asp.NET mixture Pinmemberceviz14:02 16 May '10  

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

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


Advertise | Privacy | Mobile
Web01 | 2.5.120209.1 | Last Updated 10 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid