Re: Adding attribute xml:space

Karl Stubsjoen <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
Perfect!  I was thinking this was more complicated than this.

Thanks again..

Karl..

On Mon, Jun 6, 2011 at 10:38 PM, Mukul Gandhi <[email protected]>wrote:

> perhaps something like following (this is a simplistic example for this),
>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
>   <xs:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="http://www.w3.org/2001/xml.xsd"/>
>
>   <xs:element name="x">
>        <xs:complexType>
>             <xs:attribute ref="xml:space"/>
>        </xs:complexType>
>   </xs:element>
>
> </xs:schema>
>
> You may also cache the schema xml.xsd locally, for reliable validation.
>
>
> On Tue, Jun 7, 2011 at 10:04 AM, Karl Stubsjoen <[email protected]> wrote:
> > I have an xml document and for one of the elements xml:space should be a
> > valid attribute.  I do not know how to set this up in my schema.  My Xml
> is
> > not declared with any sort of schema.
> > Thanks for any help.
> > Karl..
> >
> > --
> > Karl Stubsjoen
> > MeetScoresOnline.com
> > (602) 845-0006
>
>
>
>
> --
> Regards,
> Mukul Gandhi
>



-- 
Karl Stubsjoen
MeetScoresOnline.com
(602) 845-0006
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.