Florent Georges <darkman_spam@xxxxxxxx> writes:
> vedm wrote:
>
>> How can I make nXML recognize TAL (Template Attribute
>> Language) attributes?
>
>> E.g. nXML reports a "Prefix not declared" error for the
>> "tal:content" attribute in the following snippet:
>
>> <title tal:content="here/title">Page Title</title>
>
> In order to use a namespace prefix, you have to declare it (bind it
> to a namespace URI):
>
> <title tal:content="here/title"
> xmlns:tal="the://TAL/namespace/URI"
> >Page Title</title>
>
> It's not about nXML, but about XML, and you can find a lot of
> information on the web about XML Namespaces.
After I add this declaration I get a new error: "Attribute not
allowed".
I guess what I need is a new RelaxNG schema to include the TAL
attributes, but I have no idea how to create it. I thought someone might
already have done it...
--
vedm
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|