Xml text in a dreamweaver doc?
hi
is there a way of linking an xml document to a html doc.
so the user only has to update the xml doc to update the text within the web page?
any tutorials anywhere?
cheers guys
Yes, but if I am understanding you correctly, this really is not the best use for XML. XML stores data like a database but in a flat file that allows for dynamic manipulation of data (ie: see Spry data sets - http://labs.adobe.com/technologies/spry/samples/ - examples under first tab). If you are looking to have users edit long text, it would be easier and more productive to use a database such as mySQL or MS SQL. Also with using a database you can provide an interface to make editing easier whereas XML documents are all ugly code and if one thing is mistyped it can cause a headache for you and your customer.
Similar Messages
-
Lines around type and other type/text problems in Dreamweaver CS3
Dear Dreamweaver forum:
Good news/bad news,
First the good news…
My thanks to a forum member by the name of Mylenium. With Mylenium's advice I have improved my halo problem by including a black background when I save type in Illustrator CS3 as part of importing it into Dreamweaver CS3.
However, the bad news, is that I’m still having type and text problems.
Problem area 1
Now, in Dreamweaver, I’m getting lines appearing around the type.
I am dragging and dropping the .gif type file into a Dreamweaver Div Tag.
How do I get rid of the lines around the type so that they do not show up in the Safari browser?
(Please see below)
Problem area 2
I cannot drag and drop text from a Word .doc file into a Dreamweaver div tag.
I also cannot copy and paste Word .doc text into a div tag.
How do I include text on my webpage without having to manually type it in?
(Please see below)
Any help would be appreciated. Thanks!
From within Dreamweaver CS3, how do I place text? Dragging and droppign the file does not work.
This is screenshot of what I see so far when I use Safari to test what I have made so far in Dreamweaver CS3.
I get lines around type.........not usually a good thing.........How do I fix it?
The way I created the portfolio type in IllustratorCS3 using the File > Save for Web and Devices. I then imported the resulting .gif file so that it was within my root folder within the Files panel within Dreamweaver CS3.
Am I doing this right?Hi
The problems you are experiencing with the image text, (why are you using image text, these days?) is probably cause by the image having a border when created in illustrator, or the image size being set incorrectly.
As for the word text if you are using windows, see http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ce6.html.
On the mac it is a little more complex, save your word doc as html, then apply the 'clean up word html files', (see - http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ef5.html) copy the relevant text and mark-up from the word html file, and paste into your html document in the required position.
PZ
www.pziecina.com -
How to insert single colon xml text in the xml table
Dear Sir,
how to insert special characters like single colon text example (don't) xml text in to the xml table
please see the following example its giving me error quoted string is not ended properly
SQL> insert into ftr_ctl values (1,
2 xmltype('<po:root xmlns:po="http://www.oracle.com/FC.xsd"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.oracle.com/FC.xsd
5 http://www.oracle.com/FC.xsd">
6 <row>
7 <UniqueIdentifier>urn:x-gcs:def:featureType:GFDD::FT_DFDD_100565</UniqueIdentifier>
8 <AlphaCode>ZB032</AlphaCode>
9 <Name>Baseline Point</Name>
10 <Status>Submitted</Status>
11 <Definition>A location that serves as a point on, and which partially defines a segment
of, a national boundary baseline.</Definition>
12 <Description>May be monumented or unmonumented. A national boundary baseline is used fo
r defining the landward edge or margin of a nation's various contiguous zones such as the 3 and 12 n
autical mile limits and the Exclusive Economic Zone (EEZ).</Description>
13 </row>
14 </po:root>'));
ERROR:
ORA-01756: quoted string not properly terminated
how to solve single quotation like (nation's) in xml data insertion
please give me reply as soon as possible
Thanks
KabeerHi,
Use {code} tags to post formatted code on the forum.
That way, your code will be more readable for everyone, and more importantly here, everyone will be able to clearly see what's bothering you :
'sThe single quote was encoded with the character entity reference "&apos;".
The conversion is not mandatory but it happens Oracle is doing it in this case.
It shouldn't be a problem though.
If you want to extract the value afterwards, it'll come as expected :
SQL> create table ftr_ctl (id number, doc xmltype);
Table created
SQL> insert into ftr_ctl values (1,
2 xmltype('<po:root xmlns:po="http://www.oracle.com/FC.xsd"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.oracle.com/FC.xsd
5 http://www.oracle.com/FC.xsd">
6 <row>
7 <UniqueIdentifier>urn:x-gcs:def:featureType:GFDD::FT_DFDD_100565</UniqueIdentifier>
8 <AlphaCode>ZB032</AlphaCode>
9 <Name>Baseline Point</Name>
10 <Status>Submitted</Status>
11 <Definition>A location that serves as a point on, and which partially defines a segment of, a national boundary baseline.</Definition>
12 <Description>May be monumented or unmonumented. A national boundary baseline is used for defining the landward edge or margin of a nation''s various contiguous zones such as the 3 and 12 nautical mile limits and the Exclusive Economic Zone (EEZ).</Description>
13 <Alias xsi:nil="true"></Alias>
14 <SourceItemIdentifier>100565</SourceItemIdentifier>
15 <SourceReference>DGIWG DFDD BL 2011-1.00</SourceReference>
16 <SourceURL>https://www.dgiwg.org/FAD/fdd/view?i=100565</SourceURL>
17 </row>
18 </po:root>'));
1 row inserted
SQL> select extractvalue(doc, '/po:root/row/Description','xmlns:po="http://www.oracle.com/FC.xsd"')
2 from ftr_ctl
3 where id = 1
4 ;
EXTRACTVALUE(DOC,'/PO:ROOT/ROW/DESCRIPTION','XMLNS:PO="HTTP://WWW.ORACLE.COM/FC.
May be monumented or unmonumented. A national boundary baseline is used for defi
ning the landward edge or margin of a nation's various contiguous zones such as
the 3 and 12 nautical mile limits and the Exclusive Economic Zone (EEZ).
{code} -
Loading an image in an XML text file
I've gotten the DateChooser component to work very well
loading dynamic text fields with data from an external XML file.
Can I embed a jpeg into the XML text like I would with the
<img> tag in an HTML text file?
Many thanks in advance for any tips...
GeorgeI assume your XML looks something like this...
<event date='11/11/1111'>
<PerformerName>SomeInfoHere</PerformerName>
</event>
You could add the image info anywhere you want in the XML.
Perhaps an attribute of the PerformerName tag?
<PerformerName
image='myImage.jpg'>SomeInfoHere</PerformerName>
or
<PerformerName image='
http://www.myDomain.com/images/myImage.jpg'>SomeInfoHere</PerformerName>
When you parse the XML data and build your Array, then you
just need to capture the additional tag attribute. Similar to how
you got the date attribute.
Then at that point you would add it into the textField of
your info_txt.
Read this page in the docs to see how to add the image.
http://livedocs.adobe.com/flash/8/main/00001464.html -
Making a xml site map in Dreamweaver
Is there a way to make an xml site map in Dreamweaver? Are there extensions to do so? Also what is the best way to get your site on Google.
I use this
http://www.xml-sitemaps.com/
Also what is the best way to get your site on Google.
Google's SEO Starter Guide (PDF)
http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.p df.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
I have a problem with my XML setup here
i use Tab key to aligh up info in the xml text for aligned
display in the program
hoever i tested on several computers and get different
resolts.
how can i fix this.
Please view the linked Image
http://img129.imageshack.us/img129/8394/flashtextproblemti4.jpg
this is what happenes even thow all run xp and all run same
latest flash version.
Anyone got an ideer how i can solve this.
BTW the font is verdana.
This is my actionscript ....
// Function to parse an address
f_parseAddress = function () {
// Set the text
_root.stageholder.textfield.htmlText =
this.firstChild.firstChild.firstChild.nodeValue;
// Create the XML object
XML_address = new XML();
// Set up the XML object
XML_address.ignoreWhite = true;
// Add the handlers
XML_address.onLoad = f_parseAddress;
// Load the XML file
XML_address.load("./Data/xml/kontakt.xml");
This is my XML file
<?xml version="1.0" encoding="iso-8859-1"?>
<text>
<address>
<![CDATA[
<font size="20">Company name</font>
Company name
address
address
Dir. tlf. + xx xx xx xx xx
+ xx xx xx xx xx
Mobil + xx xx xx xx xx
+ xx xx xx xx xx
web: <a href="
http://www.xxxxxxxxxxxxx.xx"><b>www.xxxxxxxxxxxxx.xx</b></a>
E-mail: <a
href="mailto:[email protected]"><b>[email protected]</b></a>
]]>
</address>
</text>
If anyone got a solution on how i can get my text to allign
corect
i would like to hear about it
Best reguards
Misalrighty then try this xml structure.
Note: formatting information like b, or linkage tags should
not be part of the xml.
The XML format is a universal format for data, if you fill it
with style information this is not good practive (in general, there
are of course scenarios where it makes sense, also since (x)html IS
also XML).
In your case you want to put the information about multiple
companies in a xml file, but you let the flash decide how to
display format this information.
so if you use the sugested XMl structure you will have full
control of the layout within flash, because you can grab every
piece of information from the xml and place it jsut where you want
in flash and format it within flash.
Of course this process is more coding work than your previous
attempt, but it pays of when you have a lot of data to process and
when you want to have full control of the final layout.
But maybe its overkill for your application (I don't know how
many companies will be stored in your xml and how complex the rest
of the app is). -
How to save a text or file in *doc from Pages?
How to save a text or file in *doc?
Igor,
Use either File > Export, or Share > Export, and choose the Word option.
Jerry -
Import and flow the xml text in a indesign document
pls,anyone give me a solution for import and flow the xml text in a document.
thanks,
screen410099See http://forums.adobe.com/thread/838745?tstart=0
Would you mind waiting a bit before asking again and again and again and then again? It's possible the person who can answer you question just didn't happen to read the forums this week. -
I'm trying to load in XML text. I'm looking for an efficient
method of doing so.
Ideally, I'd like the text to fade in and out with the image.
Maybe adding a subtle animation/movement to the text box would be
nice. Perhaps a MC that plays intervals of movement with a dynamic
text box... i just don't know how to do it.
Sample files
CLICK HERE
845kbstart simple and build. check the xml class so you can see
how to create a simple xml file, load it and parse its contents.
then progress step-wise towards your project. -
Save an Image object into a XML text document
ello:
I have a problem with saving an image. I need to encapsulate it into two XML tags:
<Image> xxxxxx </Image>
The "xxxx" must be a String that represents my Image object.
In J2ME I haven't serialization, and all the examples about "manual serialization" works with primitive types :(
I've already read that I can do .getRGB() over my Image object, and obtain an array of int, wich represent each pixel. Ok, I can transform the array into a String, and write it in my XML text document, but later: how I obtain my array from that String?
Thak you very muchprivate Image img;
byte rgb[] = null;
private rgbLength; // get lenth of your string
rgb = new byte(rgbLength);
rgb = ... //load data from string to this array
img = createRGBImage(rgb, int width, int height, false) ;You must know length of your string and must encapsulate in to XML width and height of this image; -
Given the following XML snippet:
<adjustments>
<adjustment>Add <bonus>10</bonus> points
if completion time less than
<completionTime>60</completionTime>
seconds.</adjustment>
<adjustment>Add <bonus>15</bonus> points
if opponent rank is higher than level
<opponentRank>5</opponentRank>.</adjustment>
<adjustment>Add <bonus>5</bonus> points if
the temperature is above <temperature>75</temperature>
degrees Fahrenheit.
</adjustments>
How would I output each adjustment as text like the
following? In other words, how can I "flatten" the XML text?
Add 10 points if completion time less than 60 seconds.
Add 15 points if opponent rank is higher than level 5.
Add 5 points if the temperature is above 75 degrees
Fahrenheit.
Thanks in advance for your help.adjustments.text() returns an empty string, of course. And
something like adjustments.adjustment[0].text() returns just:
Add points if completion time less than seconds.
It doesn't have the text of of the child nodes.
What I need is the text of a parent node and all of the child
nodes in one string. Even if I iterate over the parent and all the
descendants, I don't see any way of properly placing the text from
the children into the text from the parent.
Any other ideas? -
How to avoid empty elements in generated xml text
I am using XMLBeans to generate xml.
If I set text value for a tag then it displaying like
<param name="org">Satyam</param>
If I set empty text value for the same tag it generateing xml text like
<param name="org"/>
But I don't need empty elements in generated xml like this way. Even though I set empty text to a tag it has to display like
<param name="org"></param>
How can I do this one.
Message was edited by Mouli at Dec 14, 2004 2:55 AMHi,
by the book these two representations are identical
<.... />
<....></....>
as for the XML-parser.
What problem are you facing with the <... /> representation?
I will try to investigate a bit to see if the XMLBean can be forced to write the <....></....> representation.
- Anders M. -
"line over/under text" from old Quark doc - how to get rid of them?
"line over/under text" from old Quark doc - how to get rid of them?
Can´t seem to finde this and deadline is coming for this project..
Thanks!
G.I actually found it by myself. But thanks for your response. Not having used my danish version of Quark for 5 years makes finding options i dont usually use in indesign kind of hard. I won´t ever miss danish quark.
-
Auto-enter text in linked email doc?
Hi-
Apologies for my lack of HTML prowess...
I'm creating a website using DW8, with a page that has a
number of different email links to various government officials.
Because the messages to each of the recipients is different, I was
hoping to be able to program Dreamweaver to auto-insert specific
text into whatever email composer pops up when users click on the
email link as it appears in their browsers. Is this possible? If
so, is it very complicated? Thanks for any and all leads.
RDOK. Never mind my previous post. I found the ASCII line break
code that did the trick.
Everything is working fine with one exception:
Once I post this to the server for testing, one of my test
email clients (Outlook Express 6) ceases to open the document if
the body exceeds 190 words (1085 characters, 1270 including
spaces). If I upload the total doc (293 words, 1657 characters,
1943 wtih spaces) the link does nothing when clicked upon. As a
test, I tried omitting the top of the body text to see if there was
some code in the tail end that was screwing things up, but it works
under a certain word count, so apparently, it is not defective code
in the body.
i realize this is getting kind of obscure, but, is anyone
aware of any issues that might cause this behavior in Outlook
Express? My other test client is Apple's "Mail." That seems to be
working properly. Normally, I wouldn't care, as I spend most of my
time in Mac, but this thing has to work for everyone.
Thanks for any insight.
RD -
Using xml rss feeds in dreamweaver
I used dreamweaver to configure a rss feed in my webpage.
One thing led to another and I was forced to reinstall my php
server via
xampp
Now when I load the page on my computer I have this error:
Fatal error: Call to undefined method domdocument::loadXML()
in
N:\INETPUB\xampp\htdocs\1purpose_bethel\includes\MM_XSLTransform\MM_XSLTransform.class.ph p
on line 303
I checked the includes folder and I do have the class file
MM_XSLTransform.class.php
but what I am wondering is if there is a place in my php.ini
file that needs
to modified to allow for the RSS feed? Or is there something
else that I am
over looking?
any insight would be greatly appreciated
thank you
KevinHi, I'm also having the same error. I found in some other
forums that I should do the following (I think its you David who
suggested it):
comment the line --> $xml =
DOMDocument::loadXML($content);
then add these two lines
$doc = new DOMDocument();
$err = $doc->loadXML($content);
Well, actually when MM_XSLTransform.class.php was created it
was already updated. But I'm still getting the error.
I'm still a baby in PHP and I've been trying to figure it out
for 2 days and nothing is happening.
Please, please...your response will be highly appreciated.
Kind regards,
Jeng
Maybe you are looking for
-
How to use two different packages which in different directories?
In my progrom, I'm using two differnet packages that in two different directories, but if I use classpath , the program can only be in one environment, so what can I do?
-
Based on Payment terms make Manditory field in Billing DOc
Dear all, I am trying to find LCNUM field in Billing document field.If i check in Table level i can able to see the field..but if i go to VF02 that field is not appearing ,WHere can i see the field. Req: I need to make the Mandatory field as Financia
-
AuthenTec AES2501B Fingerprint Reader HP Compaq 8710w, Windows 7 x64
After updating through windows update fingerprint reader stopped working. ,
-
Mail - how do I prevent group expansion
Hello, it appears that the current version of Mail (Mavericks) always expands groups of recipients, even if the "When sending to a group, show all member addresses" checkbox is UNchecked in the Preferences. This option worked fine in my previous vers
-
I would like to know how to append to a zip file, I know how to write a zip file and I can put as many entries in the first time but if I run my program again and try to add a file to the same zip file it erases what was already in it. I use ZipOutpu