xsl-list
[Top] [All Lists]

RE: Spaces in Tag Name

2003-01-06 02:32:43
No it can't.

The relevant part from the XML specification is

http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name

[4]    NameChar    ::=    Letter | Digit | '.' | '-' | '_' | ':' | 
CombiningChar | Extender
[5]    Name    ::=    (Letter | '_' | ':') (NameChar)*

Another point worth noting is that a name must start with a letter, '_'  or  
':' but not with a number.

Edward Middleton

-----Original Message-----
From: Vijaya Kumar Y [mailto:vijayay(_at_)aztec(_dot_)soft(_dot_)net]
Sent: Monday, January 06, 2003 6:03 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Spaces in Tag Name


Hi
 i am new to XMl -XSL world

the quetion is CAN we have a space in the Tag Name for example like

<Root>
  <Child 1> 12</Child 1>
  <Child 2> 12212</Child 2>
</Root>

note there is a space between word child and digit

is it possible to have a space.

IF we can how to read that XML file- i mean to load that XML file

Regards
Vijaay Kumar

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>