Thread: counting in XSL
View Single Post
  #9 (permalink)  
Old March 29th, 2006, 06:50 PM
gezi gezi is offline
Registered User
 
Join Date: Mar 2006
Location: Sunland, California, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, you are right - this was only intended as a sample for the vCard format.
But here is a simple data in and out from one simple data set.

Thanks
Gunter


===== in ===========================
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="allad.xsl"?>

<ALLAD>
  <MARK>
    <LETTER>====L====</LETTER>

    <ADD>
      <FN>Firsname</FN>
      <LN>Lastname</LN>
      <HS>1234 Street Court</HS>
      <HC>Burbank</HC>
      <HT>California</HT>
      <HZ>91504</HZ>
      <PH>(818) 555-4962</PH>
      <MB>(818) 555-2870</MB>
      <EM>name@mail.net</EM>
      <NO>this is a test note - #1</NO>
      <NO>this is a test note - #2</NO>
    </ADD>

  </MARK>

</ALLAD>

===== out ==========================
BEGIN:VCARD
VERSION:2.1
N:Lastname;Firsname;;;
FN:Firsname Lastname

ADR;HOME:;;1234 Street Court;Burbank;California;91504;
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:1234 Street Court=0D=0ABurbank, California91504=0D=0A
TEL;HOME;VOICE:(818) 555-4962
TEL;CELL;VOICE:(818) 555-2870
EMAIL;PREF;INTERNET:name@mail.net
NOTE;ENCODING=QUOTED-PRINTABLE:this is a test note - #1
NOTE;ENCODING=QUOTED-PRINTABLE:this is a test note - #2
END:VCARD