xsl-list
[Top] [All Lists]

RE: Can I put a variable to be interpreted in an xml node?

2004-07-14 09:17:34
At 10:37 AM 7/14/2004, es wurde geschrieben:
How about:

<sentences>
<sentence lang="en">Forgot your password? Fill in [[[this form]]] to retrieve your password.</sentence> <sentence lang="de">Haben Sie das Passwort vergessen? Bitte füllen Sie [[[dieses Formular]]] aus, um ihr Passwort zu erhalten.</sentence>
</sentences>

You can then use substring-before() and substring-after() to split the text and fill in the necessary tags for the hypertext link.

Yikes! What about when a line mentions more than one form? Why not just use XML (XHTML or not)? Hey didn't we just have this discussion?

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================